import React from 'react';
import { connect } from 'react-redux';
import CarsDiscount from '../components/My/CarsDiscount';

class carsDiscountContainer extends React.Component {
  render() {
    return (
      <CarsDiscount {...this.props} />
    );
  }
}

export default connect((state) => {
  const { storeInfo } = state.myReducer;
  return {
    storeInfo,
  };
})(carsDiscountContainer);
